package com.zhuang.demo.entity;

import java.util.List;

public class BookType {
    private Integer bookTypeId;

    private String bookTypeName;

    private String bookTypeRemark;

    private List<Book> books;

    @Override
    public String toString() {
        return "BookType{" +
                "bookTypeId=" + bookTypeId +
                ", bookTypeName='" + bookTypeName + '\'' +
                ", bookTypeRemark='" + bookTypeRemark + '\'' +
                ", books=" + books +"\n"+
                '}';
    }

    public List<Book> getBooks() {
        return books;
    }

    public void setBooks(List<Book> books) {
        this.books = books;
    }

    public Integer getBookTypeId() {
        return bookTypeId;
    }

    public void setBookTypeId(Integer bookTypeId) {
        this.bookTypeId = bookTypeId;
    }

    public String getBookTypeName() {
        return bookTypeName;
    }

    public void setBookTypeName(String bookTypeName) {
        this.bookTypeName = bookTypeName == null ? null : bookTypeName.trim();
    }

    public String getBookTypeRemark() {
        return bookTypeRemark;
    }

    public void setBookTypeRemark(String bookTypeRemark) {
        this.bookTypeRemark = bookTypeRemark == null ? null : bookTypeRemark.trim();
    }
}